<template>
  <div class="ai-page">
    <!-- 返回按钮 -->
    <!-- <div class="back-header">
      <van-icon name="arrow-left" class="back-icon" @click="goBack" />
      <h3>智能客服</h3>
    </div> -->
    
    <!-- AI助手iframe -->
    <div class="coze-container">
      <iframe 
        src="https://www.coze.cn/store/agent/7566218314562355238?bot_id=true" 
        frameborder="0"
        width="100%" 
        height="100%"
        title="Coze AI助手"
      ></iframe>
    </div>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'

const router = useRouter()

const goBack = () => {
  // 返回上一页
  router.back()
}
</script>